package com.maoxs.dao;

import com.maoxs.pojo.User;

import java.util.List;

public interface UserDao {
    void add(User user) throws Exception;

    void update(User user) throws Exception;

    void delete(Long id) throws Exception;

     List<User> select(int page, int size)throws Exception;
}
